<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Gestion Caisse</title>
        <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=1" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <link rel="shortcut icon" href="/img/fav.ico">
            <link rel="apple-touch-icon" href="/img/apple-touch-icon.png">
                <link rel="apple-touch-icon" sizes="72x72" href="/img/apple-touch-icon-72x72.png">
                    <link rel="apple-touch-icon" sizes="114x114" href="/img/apple-touch-icon-114x114.png">
                        <link rel="stylesheet" href="/media/css/TableTools.css" type="text/css" charset="utf-8" />
                        <link rel="stylesheet" href="/css/screen.css" type="text/css" charset="utf-8" />
                        <link rel="stylesheet" href="/css/flick/demo_table_jui.css" type="text/css" charset="utf-8" />
                        <link rel="stylesheet" href="/css/flick/jquery-ui-1.7.2.custom.css" type="text/css" charset="utf-8" />
                        

                        <!-- Old style table -->
                        <!-- <link rel="stylesheet" href="styles/data_table.css" type="text/css" charset="utf-8" /> -->
                        <!-- New style table -->
                        <!--<style type="text/css" title="currentStyle">
                            @import "/media/css/TableTools.css";
                            @import "/css/flick/demo_table_jui.css";
                            @import "/css/flick/jquery-ui-1.7.2.custom.css";
                        </style>-->
                           	
                    <link rel="stylesheet" href="/css/menutop.css"  type="text/css" />
                        <link rel="stylesheet" href="/css/style.css" type="text/css" />
                        <link rel="stylesheet" href="/css/print.css" type="text/css" media="print" />
                        <script type='text/javascript' src='/js/jquery-1.7.2.min.js'></script>
                        <!-- <script type="text/javascript" src="js/jquery.min.js"></script> -->
        
                    
                        <script type="text/javascript" src="/js/jquery-ui-1.8.9.custom.min.js"></script>
                        <script type="text/javascript" src="/js/jquery.dataTables.min.js"></script>
                        <script type="text/javascript" charset="utf-8" src="/js/ZeroClipboard.js"></script>
                        <script type="text/javascript" charset="utf-8" src="/js/TableTools.js"></script>
                        <script type="text/javascript" src="/js/global.js"></script>
                        <script type="text/javascript" src="/js/jquery.colorbox-min.js"></script>
                        <script type="text/javascript" src="js/jquery.ui.autocomplete.js"></script>
                          <script type="text/javascript" src="/js/gen_validatorv4.js"></script>
                        <script>
                            $(document).ready(function() {
                                $(".ajax").colorbox();
                                return false;
                            });
                        </script>
                        <script>
                            if (("standalone" in window.navigator) && window.navigator.standalone) {

                                // If you want to prevent remote links in standalone web apps opening Mobile Safari, change 'remotes' to true
                                var noddy, remotes = true;

                                document.addEventListener('click', function(event) {

                                    noddy = event.target;

                                    // Bubble up until we hit link or top HTML element. Warning: BODY element is not compulsory so better to stop on HTML
                                    while (noddy.nodeName !== "A" && noddy.nodeName !== "HTML") {
                                        noddy = noddy.parentNode;
                                    }

                                    if ('href' in noddy && noddy.href.indexOf('http') !== -1 && (noddy.href.indexOf(document.location.host) !== -1 || remotes))
                                    {
                                        event.preventDefault();
                                        document.location.href = noddy.href;
                                    }

                                }, false);
                            }
                        </script> 	
                        </head>

                        <body>
                              <br/>
                            <br/>
                            <div id="wrapper">
                                <div id="header">
                             <div id="header_top">
    <div id="header_toggle"><a href="{{path('fos_user_security_logout')}}">Deconnexion</a></div>
    <p class="current_date">Aujourd'hui le ,{{ "now"|date("d/m/Y") }}
    &nbsp;&nbsp;&nbsp;&nbsp;
     </p>
    <div class="clr"></div>
  </div>
                                    <div id="header_mid">
                                        <div id="logo">
                                            <h1><a href="{{path('caisse_acceuil')}}"><img src="/img/logo.png" alt="Gestion Caisse" /></a></h1>
                                            <!-- <h2>Free Cloud Based File Hosting Service</h2> -->
                                        </div>
                                       <div id="right_sec">
      <div id="search_area">
        <div id="field01">
		<form action="#" method="post">

          <input type="text" id="q" name="q" onblur="if(this.value=='')this.value='search_by_description'" onfocus="if(this.value=='search_by_description')this.value='';" value="search_by_description" />
        </div>
        <input type="image" name="submit" src="/img/recherche_bout.png"/>
		</form>

      </div>
      <!-- <div id="buy_now"><a href="http://codecanyon.net/item/simple-stock-manager/2736749" target="_blank">Buy Now</a></div> -->
    </div>
                                        <div class="clr"></div>
                                    </div>

                                    <div id="wrapper1">

        <nav id="nav1">
                <ul id="navigation1">
		<li><a href="{{path('caisse_acceuil')}}" class="first">Acceuil</a></li>
		<li><a href="#">Catégorie &raquo;</a>
			<ul>
				<li><a href="{{path('caisse_ajout_categorie')}}">Ajouter une catégorie</a></li>
				<li><a href="{{path('caisse_list_categorie')}}">Liste des categories</a></li>
			</ul>
		</li>
		<li><a href="#">Article &raquo;</a>
			<ul>
				<li><a href="{{path('caisse_ajout_article')}}">Ajouter un article</a></li>
				<li><a href="{{path('caisse_list_article')}}">Liste des articles</a></li>
			</ul>
		</li>
                <li><a href="#">Commandes &raquo;</a>
			<ul>
				<li><a href="{{path('caisse_ajout_commande')}}">Ajouter une commande</a></li>
				<li><a href="{{path('caisse_list_commande')}}">Liste des commandes</a></li>
			</ul>
		</li>
	
				<li><a href="#">Serveurs &raquo;</a>
			<ul>
				<li><a href="{{path('caisse_ajout_serveur')}}">Ajouter un serveur</a></li>
				<li><a href="{{path('caisse_list_serveur')}}">Liste des serveurs</a></li>
			</ul>
		</li>
                      <li><a href="#">Tables &raquo;</a>
			<ul>
				<li><a href="{{path('caisse_ajout_table')}}">Ajouter une Table</a></li>
				<li><a href="{{path('caisse_list_table')}}">Liste des Tables</a></li>
			</ul>
		</li>
                        
		<li><a href="{{path('fos_user_security_logout')}}" class="last">Déconnexion</a></li>
	</ul>
    </nav>

</div><!--end wrapper-->
                                    <div class="clear"></div>
                                </div>
    {% block  body %}


    {% endblock %}

                                <div id="footer">
                                    <div class="footer_sec detail-sec">
                                        <div class="footer_sec_inner">
                                            <div class="footer_bottom">
                                                <div>
                                                    Copyright &copy; 2014 Gestion Caisse par <a href="http://www.groupe-telnet.net/index.php/fr/" target="_blank"> Telnet Technologie</a>
                                                </div>
                                                <div class="footer_menu">
                                                    <ul>
                                                        <li><a href="{{path('caisse_ajout_article')}}">Ajouter un article</a></li>
                                                        <li><a href="{{path('caisse_list_article')}}">Liste des articles</a></li>
                                                        <li><a href="{{path('caisse_ajout_commande')}}">Ajout commande</a></li>
                                                        <li><a href="{{path('caisse_ajout_serveur')}}">Ajouter un serveur</a></li>
                                                        <li><a href="{{path('caisse_list_serveur')}}">Liste des serveurs</a></li>
                                                    </ul>
                                                </div>      
                                                <div class="clear"></div>	
                                            </div>
                                            <div align="center" style="color:#999; margin-top: 10px;">
                                                <?php
                                                /* $mtime = microtime();
                                                $mtime = explode(" ",$mtime);
                                                $mtime = $mtime[1] + $mtime[0];
                                                $endtime = $mtime;
                                                $totaltime = round(($endtime - $starttime), 3);
                                                echo "Page is created in ".$totaltime." seconds";
                                                */
                                                ?>
                                            </div>
                                        </div>

                                        <div class="clear"></div>
                                    </div>
                                </div>
                            </div>
                            <script type="text/javascript" src="/js/jquery-ui-1.8.9.custom.min.js"></script>
                            <script type="text/javascript" src="/js/jquery.dataTables.min.js"></script>
                            <script type="text/javascript" charset="utf-8" src="/media/js/ZeroClipboard.js"></script>
                            <script type="text/javascript" charset="utf-8" src="/js/TableTools.js"></script>
                            <script type="text/javascript" src="/js/global.js"></script>
                            <script type="text/javascript" src="/js/jquery.colorbox-min.js"></script>
                            <script>
                                $(document).ready(function() {
                                    $(".ajax").colorbox();
                                    
                                    
                                    $('.li-menu').hover(function(){
                                        $(this).children('ul').show()
                                    },
                                    function(){
                                        $(this).children('ul').hide()
                                    })
                                });
                            </script>

                        </body>
                        </html>
